<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8"/>
    <title>添加设备型号</title>
    <meta name="description" content="overview & stats"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="static/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="static/css/bootstrap-responsive.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="static/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="static/css/ace.min.css"/>
    <link rel="stylesheet" href="static/css/ace-responsive.min.css"/>
    <link rel="stylesheet" href="static/css/ace-skins.min.css"/>
    <script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
    <!--提示框-->
    <script type="text/javascript" src="static/js/jquery.tips.js"></script>

    <style>
        .config-itme {
            float: left;
            margin-top: 10px;
        }
    </style>
</head>

<script type="text/javascript">
    $(function () {
        top.hangge();
    });

    //保存
    function save() {
        if ($("#vender").val() == "" || isNaN(Number($("#vender").val()))) {
            $("#vender").tips({
                side: 3,
                msg: '请选择设备渠道',
                bg: '#AE81FF',
                time: 2
            });
            $("#channelCode").focus();
            return false;
        }
        if ($("#model").val() == "") {
            $("#model").tips({
                side: 3,
                msg: '请输入型号名称',
                bg: '#AE81FF',
                time: 2
            });
            $("#model").focus();
            return false;
        }
        if ($("#allFuntionDes").val() == "") {
            $("#allFuntionDes").tips({
                side: 3,
                msg: '请输入功能描述',
                bg: '#AE81FF',
                time: 2
            });
            $("#allFuntionDes").focus();
            return false;
        }
        var modules = $("#videoType  option:selected").val();
        //非自动功能配置下进行如下检查
        if ($("input[name='isWatchCustomFunction']:checked").val() == 0) {
            if (typeof ($("input[name='location']:checked").val()) != "undefined") {
                modules += $("input[name='location']:checked").val()
            }
            if (typeof ($("input[name='photo']:checked").val()) != "undefined") {
                modules += $("input[name='photo']:checked").val();
            }
            if (typeof ($("input[name='step']:checked").val()) != "undefined") {
                modules += $("input[name='step']:checked").val();
            }
            if (typeof ($("input[name='chat']:checked").val()) != "undefined") {
                modules += $("input[name='chat']:checked").val();
            }
            if (typeof ($("input[name='wifi']:checked").val()) != "undefined") {
                modules += $("input[name='wifi']:checked").val();
            }
            if (typeof ($("input[name='opDrinkWater']:checked").val()) != "undefined") {
                modules += $("input[name='opDrinkWater']:checked").val();
            }
            if (typeof ($("input[name='opSedentariness']:checked").val()) != "undefined") {
                modules += $("input[name='opSedentariness']:checked").val();
            }
            if (typeof ($("input[name='opAppManager']:checked").val()) != "undefined") {
                modules += $("input[name='opAppManager']:checked").val();
            }
            if (typeof ($("input[name='opAgentSms']:checked").val()) != "undefined") {
                modules += $("input[name='opAgentSms']:checked").val();
            }
            if (typeof ($("input[name='opAutoCall']:checked").val()) != "undefined") {
                modules += $("input[name='opAutoCall']:checked").val();
            }
            if (typeof ($("input[name='opScreensaver']:checked").val()) != "undefined") {
                modules += $("input[name='opScreensaver']:checked").val();
            }
			if (typeof ($("input[name='opPhoneBook']:checked").val()) != "undefined") {
				modules += $("input[name='opPhoneBook']:checked").val();
			}
			if (typeof ($("input[name='opAlock']:checked").val()) != "undefined") {
				modules += $("input[name='opAlock']:checked").val();
			}
			if (typeof ($("input[name='opClassForbidden']:checked").val()) != "undefined") {
				modules += $("input[name='opClassForbidden']:checked").val();
			}
			if (typeof ($("input[name='opSos']:checked").val()) != "undefined") {
				modules += $("input[name='opSos']:checked").val();
			}
			if (typeof ($("input[name='opRestart']:checked").val()) != "undefined") {
				modules += $("input[name='opRestart']:checked").val();
			}
			if (typeof ($("input[name='opClose']:checked").val()) != "undefined") {
				modules += $("input[name='opClose']:checked").val();
			}
			if (typeof ($("input[name='opCallRecord']:checked").val()) != "undefined") {
				modules += $("input[name='opCallRecord']:checked").val();
			}
			if (typeof ($("input[name='opWallpaper']:checked").val()) != "undefined") {
				modules += $("input[name='opWallpaper']:checked").val();
			}
			if (typeof ($("input[name='opRejectStrangeCall']:checked").val()) != "undefined") {
				modules += $("input[name='opRejectStrangeCall']:checked").val();
			}
			if (typeof ($("input[name='opPowerSaving']:checked").val()) != "undefined") {
				modules += $("input[name='opPowerSaving']:checked").val();
			}
			if (typeof ($("input[name='opSleepDetection']:checked").val()) != "undefined") {
				modules += $("input[name='opSleepDetection']:checked").val();
			}
        }
		var vipEnjoyAlone = "";
		if (typeof ($("input[name='isLocation']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isLocation']:checked").val()
		}
		if (typeof ($("input[name='isVideoCall']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isVideoCall']:checked").val()
		}
		if (typeof ($("input[name='isPhoto']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isPhoto']:checked").val();
		}
		if (typeof ($("input[name='isStep']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isStep']:checked").val();
		}
		if (typeof ($("input[name='isChat']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isChat']:checked").val();
		}
		if (typeof ($("input[name='isOpFind']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpFind']:checked").val();
		}
		if (typeof ($("input[name='isCostFlow']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isCostFlow']:checked").val();
		}
		if (typeof ($("input[name='isOpFlower']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpFlower']:checked").val();
		}
		if (typeof ($("input[name='isOpSchoolTimeTable']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpSchoolTimeTable']:checked").val();
		}
		if (typeof ($("input[name='isOpVoucherCenter']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpVoucherCenter']:checked").val();
		}
		if (typeof ($("input[name='isWifi']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isWifi']:checked").val();
		}
		if (typeof ($("input[name='isOpHeartRate']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpHeartRate']:checked").val();
		}
		if (typeof ($("input[name='isOpTemperature']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpTemperature']:checked").val();
		}
		if (typeof ($("input[name='isOpTimingSwitch']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpTimingSwitch']:checked").val();
		}
		if (typeof ($("input[name='isOpdialswitch']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpdialswitch']:checked").val();
		}
		if (typeof ($("input[name='isOpDrinkWater']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpDrinkWater']:checked").val();
		}
		if (typeof ($("input[name='isOpSedentariness']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpSedentariness']:checked").val();
		}
		if (typeof ($("input[name='isOpAppManager']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpAppManager']:checked").val();
		}
		if (typeof ($("input[name='isOpAgentSms']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpAgentSms']:checked").val();
		}
		if (typeof ($("input[name='isOpAutoCall']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpAutoCall']:checked").val();
		}
		if (typeof ($("input[name='isOpScreensaver']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpScreensaver']:checked").val();
		}
		if (typeof ($("input[name='isOpPhoneBook']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpPhoneBook']:checked").val();
		}
		if (typeof ($("input[name='isOpAlock']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpAlock']:checked").val();
		}
		if (typeof ($("input[name='isOpClassForbidden']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpClassForbidden']:checked").val();
		}
		if (typeof ($("input[name='isOpSos']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpSos']:checked").val();
		}
		if (typeof ($("input[name='isOpRestart']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpRestart']:checked").val();
		}
		if (typeof ($("input[name='isOpClose']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpClose']:checked").val();
		}
		if (typeof ($("input[name='isOpCallRecord']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpCallRecord']:checked").val();
		}
		if (typeof ($("input[name='isOpWallpaper']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpWallpaper']:checked").val();
		}
		if (typeof ($("input[name='isOpRejectStrangeCall']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpRejectStrangeCall']:checked").val();
		}
		if (typeof ($("input[name='isOpPowerSaving']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpPowerSaving']:checked").val();
		}
		if (typeof ($("input[name='isOpSleepDetection']:checked").val()) != "undefined") {
			vipEnjoyAlone += $("input[name='isOpSleepDetection']:checked").val();
		}


		var placeHomePage = "";
		if (typeof ($("input[name='isVideoHomePage']:checked").val()) != "undefined") {
			placeHomePage += $("input[name='isVideoHomePage']:checked").val();
		}
		if (typeof ($("input[name='isChatHomePage']:checked").val()) != "undefined") {
			placeHomePage += $("input[name='isChatHomePage']:checked").val();
		}
		if (typeof ($("input[name='isClassTabHomePage']:checked").val()) != "undefined") {
			placeHomePage += $("input[name='isClassTabHomePage']:checked").val();
		}
		if (typeof ($("input[name='isAppManagerHomePage']:checked").val()) != "undefined") {
			placeHomePage += $("input[name='isAppManagerHomePage']:checked").val();
		}
		if (typeof ($("input[name='isSosHomePage']:checked").val()) != "undefined") {
			placeHomePage += $("input[name='isSosHomePage']:checked").val();
		}
		if (typeof ($("input[name='isClassForbiddenHomePage']:checked").val()) != "undefined") {
			placeHomePage += $("input[name='isClassForbiddenHomePage']:checked").val();
		}
        $("#modules").val(modules);
		$("#vipEnjoyAlone").val(vipEnjoyAlone);
		$("#placeHomePage").val(placeHomePage);
        $("#menuForm").submit();
        $("#zhongxin").hide();
        $("#zhongxin2").show();
    }

    function setType(type) {
        if (type == 1) {
            $(".config-case").css("display", "none");
            $(".config-case").find("input").attr("disabled", true);
        } else {
            $(".config-case").css("display", "block");
            $(".config-case").find("input").attr("disabled", false);
        }
    }

</script>

<body>
<form action="device/addModel" name="menuForm" id="menuForm" method="post">
    <input type="hidden" name="modules" id="modules" value="">
	<input type="hidden" name="vipEnjoyAlone" id="vipEnjoyAlone" value="">
	<input type="hidden" name="placeHomePage" id="placeHomePage" value="">
    <div id="zhongxin" class="zhongxin-cla">
        <table>
            <tr>
                <td>
                    <font color='red'>*</font>
                    <span>渠道名称：</span>
                    <select name="vender" id="vender" class="input_txt" title="渠道名称" required="required">
                        <option value="">请选择设备渠道</option>
                        <c:forEach items="${channels}" var="channel">
                            <option value="${channel.channelCode}">${channel.name}</option>
                        </c:forEach>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <font color='red'>*</font>
                    <span>型号名称：</span>
                    <input type="text" name="model" id="model" placeholder="型号名称" value="" title="名称"
                           required="required"/>
                </td>
            </tr>
            <tr>
                <td>
                    <font color='red'>*</font>
                    <span>功能描述：</span>
                    <textarea name="all_funtion_des" id="all_funtion_des" placeholder="功能描述" value="" rows="3"
                              required="required"></textarea>
                </td>
            </tr>

            <tr>
                <td>
                    <div style="padding-left: 10px" >
                        <span>视频类型：</span>
                        <select name="videoType" id="videoType" class="input_txt" required="required">
                            <option value="">请选择视频类型</option>
                            <option value="V0JF" selected>菊风</option>
                            <option value="V0SW">声网</option>
                            <option value="V0VM">视通</option>
                        </select>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div style="padding-left: 10px" >
                        <span>视频规则：</span>
                        <select name="video_modelid" id="video_modelid" class="input_txt" required="required">
                            <option value="">请选择视频规则</option>
                            <c:forEach items="${videoModels}" var="vm">
                                <option value="${vm.id}">${vm.name}</option>
                            </c:forEach>
                        </select>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div style="padding-left: 10px" >
                        <span style="float: left">云词本类型：</span>
                        <div style="float: left">
                            <label style="float:left;padding-left: 32px;">
                                <input name="opDicpenCloudType"  type="radio" value="-1" checked>
                                <span class="lbl">不支持</span>
                            </label>
                            <label style="float:left;padding-left: 32px;">
                                <input name="opDicpenCloudType"  type="radio" value="0">
                                <span class="lbl">本地词本</span>
                            </label>
                            <label style="float:left;padding-left: 32px;">
                                <input name="opDicpenCloudType"  type="radio" value="1">
                                <span class="lbl">移动词本</span>
                            </label>
                            <label style="float:left;padding-left: 32px;">
                                <input name="opDicpenCloudType"  type="radio" value="2">
                                <span class="lbl">电信词本</span>
                            </label>

                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div style="padding-left: 10px" >
                        <span style="float: left">短10位 IMEI号映射规则：</span>
                        <div  style="float: left">
                            <label style="float:left;padding-left: 32px;">
                                <input name="isDevIMEIShort"  type="radio" value="0">
                                <span class="lbl">否</span>
                            </label>
                            <label style="float:left;padding-left: 32px;">
                                <input name="isDevIMEIShort"  type="radio" value="1" checked>
                                <span class="lbl">是</span>
                            </label>

                        </div>
                    </div>
                </td>
            </tr>

            <tr>
                <td style="display: none;">
                    <font color='red' style="float: left">*</font>
                    <span style="float: left"> 设备上传功能(自动功能配置)：</span>
                    <div style="float: left">
                        <label style="float:left;padding-left: 32px;">
                            <input name="isWatchCustomFunction" onclick="setType(0);" type="radio" value="0" checked>
                            <span class="lbl">否</span>
                        </label>

                        <label style="float:left;padding-left: 32px;">
                            <input name="isWatchCustomFunction" onclick="setType(1);" type="radio" value="1">
                            <span class="lbl">是</span>
                        </label>
                    </div>
                </td>
            </tr>


            <tr>
                <td>
                    <div style="padding-left: 10px" >
                        <span>定位间隔：</span>
                        <input type="text" name="positioningTimeInterval" id="positioningTimeInterval" placeholder="定位间隔(可选)(60~3600)" value="3600" oninput="value=value.replace(/[^\d]/g,'')"/>
                    </div>
                </td>
            </tr>

            <tr>
                <td>
                    <div style="padding-left: 10px" class="config-case">
                        <span style="float: left">功能配置：</span>
                        <br/>
                        <span class="config-itme">
								<label>
									<input type="radio" name="location" value="L0"/>
									<span class="lbl">L0(基站)</span>
								</label>
							</span>
                        <span class="config-itme">
								<label>
									<input type="radio" name="location" value="L1"/>
									<span class="lbl">L1(基站+WiFi)</span>
								</label>
							</span>
                        <span class="config-itme">
								<label>
									<input type="radio" name="location" value="L2"/>
									<span class="lbl">L2(基站+GPS)</span>
								</label>
							</span>
                        <span class="config-itme">
								<label>
									<input type="radio" name="location" value="L3" checked/>
									<span class="lbl">L3(基站+WiFi+GPS)</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="photo" value="P0"/>
									<span class="lbl">拍照</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="step" value="S0"/>
									<span class="lbl">计步</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="chat" value="C0"/>
									<span class="lbl">微聊</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opfind" value="1"/>
									<span class="lbl">查找设备</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="costFlow" value="1"/>
									<span class="lbl">查询话费流量</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opFlower" value="1"/>
									<span class="lbl">小红花</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opSchoolTimeTable" value="1"/>
									<span class="lbl">课程表</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opVoucherCenter" value="1"/>
									<span class="lbl">充值中心</span>
								</label>
                        </span>

                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="wifi" value="W0"/>
									<span class="lbl">WiFi设置</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opHeartRate" value="1"/>
									<span class="lbl">心率</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opTemperature" value="1"/>
									<span class="lbl">体温</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opTimingSwitch" value="1"/>
									<span class="lbl">定时开关机</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opdialswitch" value="1"/>
									<span class="lbl">拨号盘开关</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opDrinkWater" value="D0"/>
									<span class="lbl">喝水提醒</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opSedentariness" value="E0"/>
									<span class="lbl">久坐提醒</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opAppManager" value="M0"/>
									<span class="lbl">应用监管</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opAgentSms" value="A0"/>
									<span class="lbl">代收短信</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opAutoCall" value="T0"/>
									<span class="lbl">自动接听</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opScreensaver" value="R0"/>
									<span class="lbl">专属屏保</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opPhoneBook" value="B0"/>
									<span class="lbl">电话本</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opAlock" value="K0"/>
									<span class="lbl">闹钟</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opClassForbidden" value="F0"/>
									<span class="lbl">上课禁用</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opSos" value="O0"/>
									<span class="lbl">SOS</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opRestart" value="G0"/>
									<span class="lbl">重启</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opClose" value="H0"/>
									<span class="lbl">远程关机</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opCallRecord" value="I0"/>
									<span class="lbl">通话记录</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opWallpaper" value="J0"/>
									<span class="lbl">壁纸商城</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opRejectStrangeCall" value="N0"/>
									<span class="lbl">陌生人来电拦截</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opPowerSaving" value="Q0"/>
									<span class="lbl">夜间省电模式</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="opSleepDetection" value="U0"/>
									<span class="lbl">睡眠检测</span>
								</label>
							</span>
<%--                        <span class="config-itme" style="margin-left: 10px">--%>
<%--								<label>--%>
<%--									<input type="checkbox" name="telecom" value="1"/>--%>
<%--									<span class="lbl">支持电信</span>--%>
<%--								</label>--%>
<%--                        </span>--%>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div style="padding-left: 10px" class="config-case">
                        <span style="float: left">VIP专属配置：</span>
                        <br/>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isLocation" value="LE0"/>
									<span class="lbl">定位</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isVideoCall" value="VE0"/>
									<span class="lbl">视频通话</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isPhoto" value="PE0"/>
									<span class="lbl">拍照</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isStep" value="SE0"/>
									<span class="lbl">计步</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isChat" value="CE0"/>
									<span class="lbl">微聊</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpFind" value="FI0"/>
									<span class="lbl">查找设备</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isCostFlow" value="CF0"/>
									<span class="lbl">查询话费流量</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpFlower" value="FL0"/>
									<span class="lbl">小红花</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpSchoolTimeTable" value="ST0"/>
									<span class="lbl">课程表</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpVoucherCenter" value="VC0"/>
									<span class="lbl">充值中心</span>
								</label>
                        </span>

                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isWifi" value="WF0"/>
									<span class="lbl">WiFi设置</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpHeartRate" value="HR0"/>
									<span class="lbl">心率</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpTemperature" value="TE0"/>
									<span class="lbl">体温</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpTimingSwitch" value="TS0"/>
									<span class="lbl">定时开关机</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpdialswitch" value="DS0"/>
									<span class="lbl">拨号盘开关</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpDrinkWater" value="DW0"/>
									<span class="lbl">喝水提醒</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpSedentariness" value="SN0"/>
									<span class="lbl">久坐提醒</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpAppManager" value="AM0"/>
									<span class="lbl">应用监管</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpAgentSms" value="AS0"/>
									<span class="lbl">代收短信</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpAutoCall" value="AC0"/>
									<span class="lbl">自动接听</span>
								</label>
							</span>
                        <span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpScreensaver" value="SS0"/>
									<span class="lbl">专属屏保</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpPhoneBook" value="PB0"/>
									<span class="lbl">电话本</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpAlock" value="AK0"/>
									<span class="lbl">闹钟</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpClassForbidden" value="FB0"/>
									<span class="lbl">上课禁用</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpSos" value="SO0"/>
									<span class="lbl">SOS</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpRestart" value="RG0"/>
									<span class="lbl">重启</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpClose" value="CH0"/>
									<span class="lbl">远程关机</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpCallRecord" value="CR0"/>
									<span class="lbl">通话记录</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpWallpaper" value="WP0"/>
									<span class="lbl">壁纸商城</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpRejectStrangeCall" value="RS0"/>
									<span class="lbl">陌生人来电拦截</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpPowerSaving" value="PS0"/>
									<span class="lbl">夜间省电模式</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isOpSleepDetection" value="SD0"/>
									<span class="lbl">睡眠检测</span>
								</label>
							</span>
                    </div>
                </td>
            </tr>
			<tr>
				<td>
					<div style="padding-left: 10px" class="config-case">
						<span style="float: left">首页设置：</span>
						<br/>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isVideoHomePage" value="VE0"/>
									<span class="lbl">视频通话</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isChatHomePage" value="CE0"/>
									<span class="lbl">微聊</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isClassTabHomePage" value="ST0"/>
									<span class="lbl">课程表</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isAppManagerHomePage" value="AM0"/>
									<span class="lbl">应用监管</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isSosHomePage" value="SO0"/>
									<span class="lbl">SOS</span>
								</label>
							</span>
						<span class="config-itme" style="margin-left: 10px">
								<label>
									<input type="checkbox" name="isClassForbiddenHomePage" value="FB0"/>
									<span class="lbl">上课禁用</span>
								</label>
							</span>
					</div>
				</td>
			</tr>
            <tr>
                <td style="text-align: center; padding-top: 10px;">
                    <a class="btn btn-mini btn-primary" onclick="save();">保存</a>
                    <a class="btn btn-mini btn-danger" onclick="top.Dialog.close();">取消</a>
                </td>
            </tr>
        </table>
    </div>
    <div id="zhongxin2" class="center" style="display:none">
        <br/><br/><br/><img src="static/images/jiazai.gif"/><br/>
        <h4 class="lighter block green"></h4>
    </div>
</form>
</body>
</html>